package com.ruoyi;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import com.ruoyi.aitcommon.config.AITConfig;

/**
 * 启动程序
 * 
 * @author cli
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class FDXDApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(FDXDApplication.class, args);
        String msg="-------------[%s:%s]启动成功！----------------\r\n启动端口:%s,启动路径:%s";
        msg=String.format(msg, AITConfig.getName(),AITConfig.getVersion(),AITConfig.getPort(),AITConfig.getPath());
        System.out.println(msg);
    }
}
